import { C_IsTry } from "../../C_Config";
/** 关卡组件 */
const { ccclass, property } = cc._decorator;

@ccclass
export default class C_TryGameComponent extends cc.Component {
    @property()
    _isTry: boolean = true;

    @property()
    set isTry(v) {
        this._isTry = v;
    }

    get isTry() {
        return this._isTry;
    }


    protected onLoad(): void {
        this.node.active = this.isTry ? !C_IsTry : C_IsTry;

    }

}
